package com.oyjd.ybx.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 在线专家实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_PRO_LINE")
public class ProLine implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -819666211150728375L;

	/**
	 * 逻辑主键
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "ID", length = 32)
	private String id;

	/**
	 * 帐号
	 */
	@Column(name = "ACCOUNT", length = 20)
	private String account;

	/**
	 * 昵称
	 */
	@Column(name = "NAME", length = 20)
	private String name;

	/**
	 * 专家类型 1-营养 2-扮靓 3-用品 4-娱乐
	 */
	@Column(name = "TYPE")
	private int type;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

}